<include file="Public/ADMIN/HTML/Admin_header/admin_first_head.html" />
<title>课程管理{$Think.const.TITLE}</title>
<include file="Public/ADMIN/HTML/Admin_header/admin_css_and_js.html" />
<include file="Public/ADMIN/HTML/Admin_header/admin_title.html" />
<include file="Public/ADMIN/HTML/Admin_header/admin_middle_list.html" />
<include file="Public/ADMIN/HTML/Left_list/specialcourse_left_list.html" />
<!-- DataTables Example -->
    <style type="text/css">

 /*   .select{
		height: 1.3em;
		width: 1.6em;
		font-size: 2px;
	}*/
          .p{
            height:100px;
            width: 50%;
            position: absolute;
            left: 30%;
          }
              .pages a,  
            .pages span {  
                display: inline-block;  
                padding: 2px 5px;  
                margin: 2 3px;  
                border: 1px solid #f0f0f0;  
                -webkit-border-radius: 3px;  
                -moz-border-radius: 3px;  
                border-radius: 3px;  
            }  
              
            .pages a,  
            .pages li {  
                display: inline-block;  
                list-style: none;  
                text-decoration: none;  
                color: #58A0D3;  
            }  
              
            .pages a.first,  
            .pages a.prev,  
            .pages a.next,  
            .pages a.end {  
                margin:0;  
            }  
              
            .pages a:hover {  
                border-color: #50A8E6;  
            }  
              
            .pages span.current {  
                background: #50A8E6;  
                color: #FFF;  
                font-weight: 700;  
                border-color: #50A8E6;  
            }  
          </style>     
<div class="row" style="height: 80%">
	<div class="col-lg-10" style="float: right">
		<div class="widget-container fluid-height clearfix">
			<div class="heading">
				<i class="icon-table"></i>课程列表
			</div>
			<div class="widget-content padded clearfix">
				<table class="table table-bordered table-striped dataTable"
					id="datatable-editable">
					<thead>
						<th style="width: 6%; text-align: center">编号</th>
						<th style="width: 10%; text-align: center">课程名称</th>
						<th style="width: 10%; text-align: center;">专题名称</th>
						<th style="width: 10%; text-align: center;">课程时间</th>
						<th style="width: 7%; text-align: center">课程地点</th>
						<th style="width: 9%; text-align: center;">票数/剩余票数</th>
						<th style="width: 15%; text-align: center;" class="sorting" role="columnheader" tabindex="0" aria-controls="datatable-editable" rowspan="1" colspan="1" aria-label="活动简述: activate to sort column ascending">讲师</th>
						<th style="width: 10%; text-align: center;" class="sorting" role="columnheader" tabindex="0" aria-controls="datatable-editable" rowspan="1" colspan="1" aria-label="活动简述: activate to sort column ascending">操作</th>
					</thead>
					<tbody>
						<assign name="number" value="1" />
						<assign name="project_not_through_id" value="100000" />
						<volist name="list" id="vo">
						<tr>
							<td style="text-align: center;">{$number++}</td>
							<td style="text-align: center;"><a href="{:U('specialcourse/stutable',array('scid'=>$vo['scid']))}">{$vo.scname}</a></td>

							<td style="text-align: center;">
							<volist name="special" id="v">
							<if condition="$vo['sid'] eq $v['sid']">{$v.sname}</if>
							</volist>
							</td>
							<td style="text-align: center;">{$vo.startdate}<br>||<br>{$vo.enddate}</td>
							<td style="text-align: center;">{$vo.place}</td>
							<td style="text-align: center;">{$vo.totalticket}/{$vo.restticket}</td>

							<td style="text-align: center;">
							<volist name="special" id="v">
							<if condition="$vo['sid'] eq $v['sid']">{$v.majorteacher}</if>
							</volist>
							</td>

							<td  style="text-align: center;">
							<a class="icon-remove" title="删除" href="{:U('specialcourse/del',array('scid'=>$vo['scid']))}"></a>&nbsp;&nbsp;
							<a class=" icon-pencil" title="修改" href="{:U('specialcourse/edit',array('scid'=>$vo['scid']))}"></a>&nbsp;&nbsp;
							<a class=" icon-signout" title="导出学生名单" href="{:U('specialcourse/exstu',array('scid'=>$vo['scid'],'scname'=>$vo['scname']))}">&nbsp;&nbsp;
							<a class=" icon-signin" title="导入学生名单" href="{:U('specialcourse/instu',array('scid'=>$vo['scid'],'scname'=>$vo['scname']))}">
							</td>
						</tr>
						</volist>
					</tbody>
				</table>
			</div>
		</div>
		
	</div>
</div>

<!-- end DataTables Example -->
</div>
</div>
</body>
</html>